<?php
namespace app\common\model;

use think\Model;
use think\Db;
use think\Config;
use think\Loader;

class EventBack extends Model
{
    // 指定表名,不含前缀
    protected $name = 'event_back';
	
	public function search($title,$id,$identity_id,$feedbacktype) {

        $questype = Db::name($this->name)->field('*')->where(['identity_id'=>$identity_id,'back_title'=>['like','%'.$title.'%'],'eventid'=>['in',$id],'type'=>$feedbacktype])->select();

        return $questype;
    }
    
}
